package com.jxbeidou.system.user.service;

import com.jxbeidou.core.entity.PageResult;
import com.jxbeidou.core.mybatis.service.BaseService;
import com.jxbeidou.system.user.vo.UserRoleVO;
import com.jxbeidou.system.user.query.UserRoleQuery;
import com.jxbeidou.system.user.entity.UserRoleDO;

import java.util.List;

/**
 * 用户角色关系表
 *
 * @author 杜晓祥 
 * @since 1.0.0 2023-12-14
 */
public interface UserRoleService extends BaseService<UserRoleDO> {

    PageResult<UserRoleVO> page(UserRoleQuery query);

    List<String> findByUserId (Long userId);

    void save(UserRoleVO vo);

    void update(UserRoleVO vo);

    void delete(List<Long> idList);
}